#ifndef THINK_THINK_EXCEPTION_HTTPEXCEPTION_H
#define THINK_THINK_EXCEPTION_HTTPEXCEPTION_H

static char* think_exception_httpexception =
	"\n"
	"// +----------------------------------------------------------------------\n"
	"// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]\n"
	"// +----------------------------------------------------------------------\n"
	"// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.\n"
	"// +----------------------------------------------------------------------\n"
	"// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )\n"
	"// +----------------------------------------------------------------------\n"
	"// | Author: yunwuxin <448901948@qq.com>\n"
	"// +----------------------------------------------------------------------\n"
	"\n"
	"namespace think\\exception;\n"
	"\n"
	"class HttpException extends \\RuntimeException\n"
	"{\n"
	"    private $statusCode;\n"
	"    private $headers;\n"
	"\n"
	"    public function __construct($statusCode, $message = null, \\Exception $previous = null, array $headers = [], $code = 0)\n"
	"    {\n"
	"        $this->statusCode = $statusCode;\n"
	"        $this->headers    = $headers;\n"
	"\n"
	"        parent::__construct($message, $code, $previous);\n"
	"    }\n"
	"\n"
	"    public function getStatusCode()\n"
	"    {\n"
	"        return $this->statusCode;\n"
	"    }\n"
	"\n"
	"    public function getHeaders()\n"
	"    {\n"
	"        return $this->headers;\n"
	"    }\n"
	"}\n"
	"\n"
;
#endif